#ifndef CHEBYSHEV_3RD_256_H_
#define CHEBYSHEV_3RD_256_H_

#include <Arduino.h>
#include "mozzi_pgmspace.h"

/* table for waveshaper using chebyshev polynomials
*/

#define CHEBYSHEV_3RD_256_NUM_CELLS 256
CONSTTABLE_STORAGE(int8_t) CHEBYSHEV_3RD_256_DATA [] =
        {
	-127, -119, -110, -101, -93, -85, -77, -69, -61, -54, -47, -40, 
	-33, -26, -19, -13, -6, 0, 5, 10, 16, 21, 27, 32, 
	37, 42, 46, 51, 55, 60, 64, 68, 71, 75, 79, 82, 
	85, 89, 92, 94, 97, 100, 102, 105, 107, 109, 111, 113, 
	114, 116, 118, 119, 120, 122, 123, 124, 124, 125, 126, 126, 
	127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 126, 125, 
	125, 124, 123, 122, 121, 120, 119, 118, 116, 115, 114, 112, 
	111, 109, 107, 106, 104, 102, 100, 98, 96, 94, 92, 90, 
	87, 85, 83, 81, 78, 76, 73, 71, 68, 66, 63, 60, 
	58, 55, 52, 49, 46, 44, 41, 38, 35, 32, 29, 26, 
	23, 20, 17, 14, 11, 8, 5, 2, 0, -2, -5, -8, 
	-11, -14, -17, -20, -23, -26, -29, -32, -35, -38, -41, -44, 
	-46, -49, -52, -55, -58, -60, -63, -66, -68, -71, -73, -76, 
	-78, -81, -83, -85, -87, -90, -92, -94, -96, -98, -100, -102, 
	-104, -106, -107, -109, -111, -112, -114, -115, -116, -118, -119, -120, 
	-121, -122, -123, -124, -125, -125, -126, -126, -127, -127, -127, -127, 
	-127, -127, -127, -127, -127, -126, -126, -125, -124, -124, -123, -122, 
	-120, -119, -118, -116, -114, -113, -111, -109, -107, -105, -102, -100, 
	-97, -94, -92, -89, -85, -82, -79, -75, -71, -68, -64, -60, 
	-55, -51, -46, -42, -37, -32, -27, -21, -16, -10, -5, 0, 
	6, 13, 19, 26, 33, 40, 47, 54, 61, 69, 77, 85, 
	93, 101, 110, 119, 
        };

#endif /* CHEBYSHEV_3RD_256_H_ */
